package com.petshop.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.common.constant.BalzLogger;
import com.petshop.model.Shop;
import com.petshop.service.ShopService;
import com.petshop.service.ShopServiceImpl;

public class ShopAction{
	
	private static final long serialVersionUID = 1L;
	
	BalzLogger logger = new BalzLogger();
	
	
	public void shopDetailLoad(HttpServletRequest request, HttpServletResponse response){
		
		ShopService shopService = new ShopServiceImpl();
		Shop shop = shopService.getShopDetail();
		
		response.setCharacterEncoding("UTF-8");
		
		request.setAttribute("shop", shop); // Set shop to request
		
	}
	
	
}
